﻿using KPIS.GERP.GBMS.APP_UI.Common;
using KPIS.GERP.GBMS.BLL;
using KPIS.GERP.GBMS.MODEL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace KPIS.GERP.GBMS.APP_UI.Form
{
    public partial class BGM_Project_ControlHistory : System.Web.UI.Page
    {
        Main main = new Main();
        ComboBLL comboBLL = new ComboBLL();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                txtBgmYear.Text = SystemInfo._CurrentYear.ToString();
                LoadDDLBgmSourceSeq();
            }
        }

        protected void LoadDDLBgmSourceSeq()
        {
            ddlBgmSourceSeq.DataSource = comboBLL.ListSourceCombo();
            ddlBgmSourceSeq.DataBind();

            main.InsertEmptyDDLAll(ddlBgmSourceSeq);

            ddlBgmSourceSeq.SelectedIndex = 0;
        }

        protected void cmdOk_Click(object sender, EventArgs e)
        {
            string strBgmYear = txtBgmYear.Text.Trim();
            string strBgmSourceSeq = ddlBgmSourceSeq.SelectedValue;


        }
    }
}